-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[지하철 노선도 미션] 김예진 미션 제출합니다. #99
Open
jineeee
wants to merge
27
commits into
woowacourse:main
Choose a base branch
from
jineeee:jinee
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
기존 README.md에 작성되어 있는 기능 사항과 예시를 토대로 기능 명세 작성
메인 화면 출력과 각 기능별 출력화면 구조 세팅 역 등록하는 기본 기능 작성
역을 새로 등록할 떄 이름이 중복되는지 여부 확인 수정
Constant 클래스에 필요한 문자열 추가 노선 등록, 삭제 기능 추가
상행, 하행역이 역 정보에 등록되지 않은 경우 노선 등록 불가
노선 관리 기능의 예외 사항 추가
구간 등록을 위한 Line 클래스 변경 LineRepository의 파라미터 타입 변경
LineController, LineRepository 수정
현재 노선 크기 이상에 구간을 등록할 경우 예외 출력
repository에서는 출력을 하지않고 예외만 던지는 방식으로 수정 controller에서 예외를 받아 상황에 맞는 예외 처리 문구 출력
동작만을 관리하는 클래스와 동작에 따른 결과를 받아 출력하는 클래스로 기능을 분리
공통적으로 쓰이는 변수만 남기고 각 클래스 안에 private으로 수정
이름이 2글자 이하로 입력됐을시 에러 처리 2를 Constant 변수로 사용
repository에는 print 명령이 없도록 수정
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[지하철 노선도 미션] 김예진 미션 제출합니다.